PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.fonts.truetype Package / PDFAnsiTrueTypeFont Class / PDFAnsiTrueTypeFont Constructor / PDFAnsiTrueTypeFont Constructor(String,int,double,boolean)
Path to TrueType font collection file.
TrueType font index in the collection.
Font size.
If true, the font will be embedded in the PDF file.
In This Topic
    PDFAnsiTrueTypeFont Constructor(String,int,double,boolean)
    In This Topic
    Initializes a new Object.
    Syntax
    public PDFAnsiTrueTypeFont( 
       java.lang.String path,
       int index,
       double size,
       boolean embed
    )

    Parameters

    path
    Path to TrueType font collection file.
    index
    TrueType font index in the collection.
    size
    Font size.
    embed
    If true, the font will be embedded in the PDF file.
    See Also